import { IPSDEFDSingleLogic } from './ipsdefdsingle-logic';
import { PSModelObjectImpl } from '../../psmodel-object-impl';

export class PSDEFDSingleLogicImpl extends PSModelObjectImpl implements IPSDEFDSingleLogic {
  get codeName(): string {
    return this.M.codeName;
  }

  get condOP(): string {
    return this.M.condOP;
  }

  get dEFDName(): string {
    return this.M.dEFDName;
  }

  get dynaModelFilePath(): string {
    return this.M.dynaModelFilePath;
  }

  get logicCat(): 'PANELVISIBLE' | 'ITEMENABLE' | 'ITEMBLANK' | 'SCRIPTCODE_CHANGE' | 'SCRIPTCODE_CLICK' | 'SCRIPTCODE_FOCUS' | 'SCRIPTCODE_BLUR' {
    return this.M.logicCat;
  }

  get logicType(): string {
    return this.M.logicType;
  }

  get memo(): string {
    return this.M.memo;
  }

  get name(): string {
    return this.M.name;
  }

  get userCat(): string {
    return this.M.userCat;
  }

  get userTag(): string {
    return this.M.userTag;
  }

  get userTag2(): string {
    return this.M.userTag2;
  }

  get userTag3(): string {
    return this.M.userTag3;
  }

  get userTag4(): string {
    return this.M.userTag4;
  }

  get value(): string {
    return this.M.value;
  }

  get cls(): string {
    return 'PSDEFDSingleLogicImpl';
  }

  instanceof(cls: string): boolean {
    if (cls == 'control.form.IPSDEFDSingleLogic') return true;
    return super.instanceof(cls);
  }
}
